<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $this->config->item('charset');?>">
<title>分类管理</title>
<link href="<?php echo base_url();?>public/css/base.css" rel="stylesheet" type="text/css">
<script language="javascript" src="<?php echo base_url();?>public/js/global.js"></script>
<script language="javascript" src="<?php echo base_url();?>public/js/context_menu.js"></script>
<script language="javascript" src="<?php echo base_url();?>public/js/ieemu.js"></script>
<script language="javascript" src="<?php echo base_url();?>public/js/dialog.js"></script>
<script language="javascript" src="<?php echo base_url();?>public/js/dedeajax2.js"></script>
<script language="javascript">
function LoadSuns(ctid,tid)
{
    
    if($DE(ctid).innerHTML.length < 10){
      $DE('img'+tid).src = '<?php echo base_url();?>public/images/dedecontract.gif';

  }
  else{ 
  showHide(ctid,tid); 
  }
}
function showHide(objname,tid)
{
    
    if($DE(objname).style.display=="none")
    {
        $DE('img'+tid).src = '<?php echo base_url();?>public/images/dedecontract.gif';
        $DE(objname).style.display = BROWSER.firefox? "" : "block";
    } else {
        $DE('img'+tid).src = '<?php echo base_url();?>public/images/dedeexplode.gif';
        $DE(objname).style.display="none";
    }
}

</script>
<style>
.coolbg2 {
border: 1px solid #000000;
background-color: #F2F5E9;
height:18px
}
.coolbt2 {
  border-left: 2px solid #EFEFEF;
  border-top: 2px solid #EFEFEF;
  border-right: 2px solid #ACACAC;
  border-bottom: 2px solid #ACACAC;
  background-color: #F7FCDA
}
.nbline {border-bottom: 1px solid #d6d6d6; background-color:#FFFFFF; }
.bline2 {border-bottom: 1px solid #d6d6d6; background-color:#F9FCEF; }
</style>
</head>
<body background='<?php echo base_url();?>public/images/allbg.gif' leftmargin='8' topmargin='8' onLoad="ContextMenu.intializeContextMenu()">
<table width="98%" border="0" cellpadding="3" cellspacing="1" bgcolor="#cfcfcf" align="center">
<tr>
   <td height="28" background='<?php echo base_url();?>public/images/tbg.gif' style="padding-left:10px;">
   <div style="float:left">
        <strong>网站分类管理 </strong>
   </div>
   <div style="float:right;padding-right:6px;">
       <a href='<?php echo site_url("admin/sort/sort_add?id=0")?>' class='np coolbg'>增加顶级分类</a>
   </td>
</tr>
<tr>
    <td height="28" bgcolor="#ffffff">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="51%">提示：可使用右上角按钮新增顶级分类。</td>
          <td width="49%" align="right">

          </td>
        </tr>
      </table>
   </td>
</tr>

<tr>
<td height="120" bgcolor="#FFFFFF" valign="top">
<?php echo $treelist;?>
<br/>
</td>
</tr>

<tr>
 <td height="36" bgcolor="#FFFFFF" align="center">
 <table width="98%" border="0" cellspacing="0" cellpadding="0">
   <tr>
    <td align="right">
      
          </td>
    </tr>
   </table>
 </td>
</tr>
</table>
</body>
</html>